package com.tan.steamship.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tan.steamship.common.Result;
import com.tan.steamship.domain.CollectPo;
import com.tan.steamship.vo.RoutesVo;

import java.util.List;

/**
* @author 85726
* @description 针对表【collect】的数据库操作Service
* @createDate 2025-02-11 23:50:25
*/
public interface CollectService extends IService<CollectPo> {

    List<RoutesVo> getAllCollect(Integer userId);

    Result addCollect(Integer routeId, Integer userId);

    void deleteCollect(Integer routeId, Integer userId);

}
